home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990725-20000114
/
000171_news@columbia.edu _Fri Oct 8 19:54:47 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA29346
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 8 Oct 1999 19:54:47 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA22006
for kermit.misc@watsun.cc.columbia.edu; Fri, 8 Oct 1999 19:40:28 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: a_ppi_s@my-deja.com
Subject: login prompt problem
Date: Fri, 08 Oct 1999 23:34:33 GMT
Organization: Deja.com - Before you buy.
Message-ID: <7tlv28$crs$1@nnrp1.deja.com>
To: kermit.misc@columbia.edu
Whats the difference between the two?
I'm trying to write a simple script that will login to
a unix machine by dialing in using kermit:
(OS used Linux C-Kermit 7.0.195 )
the login prompts are as follows:
when I dial in using this script below,
I am able to login manually without a problem (after commenting out the
input/ output lines)
But, when attempting to login automatically with the script below, I am
not able to anticipate the correct login sequence.
OK, here is a sample of a correct login session ( done manually )
~~~~~~~~~~~~~~~~~~~~
0068HWR
Host Name: aAnNdDyY
UIC: pPaAsSsSwWoOrRdD
Connected to 0138 CDD-RTT1
^L
~~~~~~~~~~~~~~~~~
#!/home/andy/kermit/wermit +
set line /dev/modem
set carrier-watch off
set speed 9600
set flow-control rts/cts
set stop-bits 1
set parity even
set command bytesize 7
set duplex half
set terminal echo local
set terminal cr-display normal
set session log text
log session
set modem type gen
set input echo on
set input timeout proceed
dial 9,5551212
output \13
pau 3
;input 5 ame:
;output Andy\13
;input 5 UIC:
;output password\13
~~~~~~~~~~~~~~~
Now, when I uncomment the lines above, It is not able to sense
the correct login prompts,
Obviously I'm missing something here. Any ideas?
Also,
How do is send the following characters:
1.) CNTRL + S
2.) CNTRL + J ( or line feed )
Thanks,
-Andy
Sent via Deja.com http://www.deja.com/
Before you buy.